<?php
$this->pageTitle=Yii::app()->name . ' - '.Yii::t('main','Login');
$this->breadcrumbs=array(
	Yii::t('main','Login'),
);
?>

<h1><?php echo Yii::t('main','Login')?></h1>

<p><?php echo Yii::t('main','Please fill out the following form with your login credentials:')?></p>

<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm'); ?>

	<p class="note"><?php echo Yii::t('main','Fields with')?> <span class="required">*</span> <?php echo Yii::t('main','are required.')?></p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username'); ?>
		<p class="hint"><?php echo Yii::t('main','Hint: Number of Contract')?></p>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
	</div>

	<div class="row rememberMe">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'rememberMe'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('main','Login')); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
